<?php

class PetSkill_{ID} extends PetSkill
{
	public $id={ID};
	public $name='{Name}';
	public $desc='{Desc}';
	public $succRatio={SuccRatio};
    public $level=0;
    public $levelMax={LevelMax};

	private static $_instance;

	private function __construct()
	{
	}

	public function getInstance()
	{
		if (!self::$_instance)
			self::$_instance=new PetSkill_{ID};
		return self::$_instance; 
	}
    
    protected function effects(&$self,&$enemy,$skillLevel)
	{
        return array(
{Effects}        );
	}
    protected function consumeMp()
    {
        $skillLevel=$this->level;
        return (int)({Mp});
    }    
}

?>
